package lib.model;

public class Subtitle {

    private String filename, downloadlink, languagecode, quality;
    private SubtitleMatchType subtitleMatchType;
    private SubtitleSource subtitleSource;

    public enum SubtitleSource {
        BIERDOPJE, OPENSUBTITLES, PODNAPISI
    }

    public Subtitle(SubtitleSource subtitleSource, String filename, String downloadlink, String languagecode, String quality, SubtitleMatchType subtitleMatchType) {
        this.subtitleSource = subtitleSource;
        this.filename = filename;
        this.downloadlink = downloadlink;
        this.languagecode = languagecode;
        this.quality = quality;
        this.subtitleMatchType = subtitleMatchType;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getDownloadlink() {
        return downloadlink;
    }

    public void setDownloadlink(String downloadlink) {
        this.downloadlink = downloadlink;
    }

    public String getLanguagecode() {
        return languagecode;
    }

    public void setLanguagecode(String languagecode) {
        this.languagecode = languagecode;
    }

    public void setQuality(String quality) {
        this.quality = quality;
    }

    public String getQuality() {
        return quality;
    }

    public void setSubtitleMatchType(SubtitleMatchType subtitleMatchType) {
        this.subtitleMatchType = subtitleMatchType;
    }

    public SubtitleMatchType getSubtitleMatchType() {
        return subtitleMatchType;
    }

    public SubtitleSource getSubtitleSource() {
        return subtitleSource;
    }

}
